import React from "react";
import ReactDOM from "react-dom/client";
import Vote from "./views/vote/vote";
import context from "./ThemeContext";
import store from "./store";
import "./index.css";

const root = ReactDOM.createRoot(document.getElementById("root"));
root.render(
  <React.StrictMode>
    <React.Fragment>
      <context.Provider value={{ store }}>
        <Vote />
      </context.Provider>
    </React.Fragment>
  </React.StrictMode>
);
